<?php

namespace app\index\controller;

class Test
{
    public function index ()
    {
        $data=['fathersector'=>20];
        $va=validate('SectorVa');
        if($va->check($data)){
            dump('成功');
        }else{
            dump($va->getError());
        }

    }
}